//
//  ZallBaseTableViewCell.h
//  ZJS
//
//  Created by so on 16/5/10.
//  Copyright © 2016年 pengl. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZallGlobal.h"
#import "UIView+ZallAdditions.h"
#import "SDAutoLayout.h"

@interface ZallBaseTableViewCell : UITableViewCell {
    CGSize _gap;
    UIEdgeInsets _contentInsets;
}

/**
 *  @brief  间距，默认 （0，0）
 */
@property (assign, nonatomic) CGSize gap;

/**
 *  @brief  四周留的边框，默认 （0，0，0，0）
 */
@property (assign, nonatomic) UIEdgeInsets contentInsets;

/**
 *  @brief  是否显示顶部横线，默认 NO
 */
@property (assign, nonatomic, getter=isShowTopLine) BOOL showTopLine;

/**
 *  @brief  顶部横线前缩进，默认 0
 */
@property (assign, nonatomic) CGFloat topHeadIndentationWidth;

/**
 *  @brief  顶部横线后缩进，默认 0
 */
@property (assign, nonatomic) CGFloat topTailIndentationWidth;

/**
 *  @brief  是否显示底部横线， 默认 NO
 */
@property (assign, nonatomic, getter=isShowBottomLine) BOOL showBottomLine;

/**
 *  @brief  底部横线前缩进，默认 0
 */
@property (assign, nonatomic) CGFloat bottomHeadIndentationWidth;

/**
 *  @brief  底部横线后缩进，默认 0
 */
@property (assign, nonatomic) CGFloat bottomTailIndentationWidth;

/**
 *  @brief  顶部横线
 */
- (UIView *)topLineView;

/**
 *  @brief  底部横线
 */
- (UIView *)bottomLineView;

@end
